package cn.fscode.sign.client;

import cn.fscode.sign.client.crypto.AsymmetricCryptoType;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "security.signature")
public class SignatureProperties {
    /**
     * 签名类型
     */
    private AsymmetricCryptoType signType = AsymmetricCryptoType.RSA;

    private String clientId;

    /**
     * 此处请填写你的密钥
     */
    private String clientSecret;

    /**
     * 签名方统一入口
     */
    private String baseUrl = "http://127.0.0.1:8080";

    /**
     * 上传密钥的uri
     */
    private String uploadSecretKeyUri = "/uploadSecretKey";
}
